/*
 * @Descripttion: 合并throwOut模块，返回集合
 * @version: 
 * @Author: spring
 * @Date: 2022-04-16 22:58:24
 * @LastEditors: spring
 * @LastEditTime: 2022-04-17 10:17:07
 */
const mergeModuls = (modules: any, throwOut: any) => {
  let multiple: any = {};
  //- vite: https://cn.vitejs.dev/guide/features.html#glob-import
  for (const path in modules) {
    let module = modules[path].default;
    multiple[module.name] = module[throwOut]
  }
  return multiple
};
export default mergeModuls